package com.voicechat.firstmet.utils;

import android.os.Environment;

import java.io.File;

/**
 * Created by ljp
 */
public class ConstantSet {
    //所有私有权限
    public static final int PREMISSION_SENT_SMS = 34311;
    public static final int PREMISSION_USER_LOCATION = 34312;
    public static final int PREMISSION_READ_PHONE_STATE = 34313;
    public static final int PREMISSION_READ_CONTACTS = 34314;
    public static final int PREMISSION_CAMERA = 34315;
    public static final int PREMISSION_WRITE_EXTERNAL_STORAGE = 34316;


    //存放背景的File路径
    public static File bgFile = new File(Environment.getExternalStorageDirectory(), "photo_bg.jpg");
    //文件

    /**
     * 图像选择图片保存位置
     */
    public static final String LOCALFILE = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "CompleteUpdateHeader" + File.separator + "userPic" + File.separator;
    /**
     * 头像保存位置
     */
    public static final String LOCALFILEICON = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet"  + File.separator+ "userIcon" + File.separator;
    /**
     * 朋友圈照片保存位置
     */
    public static final String PICTURE = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet"  + File.separator+ "VVCircle" + File.separator;
    /**
     * 朋友圈保存位置
     */
    public static final String PICTUREPICTURE = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet"  + File.separator+ "Circle_picture" + File.separator;
    /**
     * 实名认证图片保存位置
     */
    public static final String PICTUREREAL = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet"  + File.separator+ "real_picture" + File.separator;
    /**
     * 朋友圈查看照片保存位置
     */
    public static final String PICTURESEE = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet" + File.separator+ "Circle_see" + File.separator;
    /**
     * 语音介绍文件保存位置
     */
    public static final String VOICE = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet" + File.separator+ "Voice_see" + File.separator ;

    //主目录
    public static final String VOICEINTR = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet" + File.separator;
    /**
            * 语音介绍文件下载保存位置
     */
    public static final String VOICEINTR_PATH = "Voice_intr" + File.separator;
    /**
     * 帖子语音文件保存位置
     */
    public static final String VOICE_POST = "Voice_post" + File.separator;
    //礼物地址
    public static final String GIF_PATH = "voice_gif" + File.separator;
    //礼物地址
    public static final String GIF_SVG_PATH = "gift" + File.separator;
    //
   // public static final String VOICE_FILE =  "voice_introduced" + ".aac";
    //压缩
    public static final String PICTURECOMP = Environment.
            getExternalStorageDirectory().getAbsolutePath() +
            File.separator + "firstMet"+ File.separator+ "Circle_comp" + File.separator;

    public static final String USERTEMPPIC = "userTemp.jpg";
    public static final String USERTEMPPIC2 = "userTemp2.jpg";
    public static final String USERLOGO = "userLogo.jpg";

    public static final String USERCIRCLEPIC = "userCircle.jpg";

    public static final String USERPIC = "user.jpg";
    public static final String USERPICLOGO = "userLogo.jpg";
    public static final String USERGROUPICON = "groupIcon.jpg";
    public static final String USERINFO = "userinfo.jpg";


    //注册后上传头像
    public static final String FIRST_USERHEADIMG = "firsttemp.jpg";//拍照后保存的图片
    public static final String IMAGE_CACHE_DIRECTORY = "images";
    public static final int PERMISSION_REQUEST_CODE = 1105;
    public static final int CAMERA_REQUEST_CODE = 1106;

    //图片裁剪

    public static final int TAKEPICTURE = 0X1;

    public static final int SELECTPICTURE = 0X2;

    public static final int CROPPICTURE = 0X3;
    public static final int FIRST_SELECT_HEAD_IMG = 1101;//跳转裁剪请求码,(请求码不能大于65536)
    public static final String IMAGER = "personalImager";
    public static final int UPDATE_USERNAME = 11;
    public static final int UPDATE_VVID = 22;
    public static final int UPDATE_PASSWORD = 17;
    public static final int UPDATE_SIGN = 33;
    public static final int UPDATE_AddRESS = 44;
    public static final int UPDATE_PHONENUMBER = 55;
    public static final int UPDATE_NUMBER = 66;
    public static final int UPDATE_NUMBER1 = 77;
    public static final String USERNAME = "username";
    public static final String VVID = "vvid";
    public static final String SIGN = "sign";
    public static final String AddRESS = "Address";
    public static final String PHONENUMBER = "phonenumber";
    public static final String CONTACTSYY = "CONTACTSYY";
    public static final String SETTINGLOCATION = "settingLocation";
    public static final int UPDATE_PERSOMAL_SETTING = 88;
    public static final int UPDATE_VERIFYCODE = 99;
    public static final int NOLOOK = 28;
    public static final int PAYSETTING = 232;
    public static final String NEW_VVID = "newvvid";
    public static final String ISFIRSTAPP = "isFirstApp";
    public static final String CLEANICONCACHE = "cleaniconcache";
    public static final String CLEANIAPK = "cleanapk";


}
